<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      liblinear-230
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;9.&nbsp;General Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="libksba.html" title="libksba-1.3.5">Prev</a>
          <p>
            libksba-1.3.5
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libmbim.html" title=
          "libmbim-1.22.0">Next</a>
          <p>
            libmbim-1.22.0
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="liblinear" name="liblinear"></a>liblinear-230
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to liblinear
        </h2>
        <p>
          This package provides a library for learning linear classifiers for
          large scale applications. It supports Support Vector Machines (SVM)
          with L2 and L1 loss, logistic regression, multi class
          classification and also Linear Programming Machines (L1-regularized
          SVMs). Its computational complexity scales linearly with the number
          of training examples making it one of the fastest SVM solvers
          around.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            After updating this package from <span class=
            "application">liblinear-1.96</span> or earlier, you need to
            reinstall <a class="xref" href="../basicnet/nmap.html" title=
            "Nmap-7.80">Nmap-7.80</a>, in order to link to the new library.
          </p>
        </div>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://github.com/cjlin1/liblinear/archive/v230/liblinear-230.tar.gz">
                https://github.com/cjlin1/liblinear/archive/v230/liblinear-230.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 5ce74bbcc402be5715b3d62d3b37c432
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 516 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 1.4 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/liblinear">http://wiki.linuxfromscratch.org/blfs/wiki/liblinear</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of liblinear
        </h2>
        <p>
          Install <span class="application">liblinear</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">make lib</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">install -vm644 linear.h /usr/include &amp;&amp;
install -vm755 liblinear.so.3 /usr/lib &amp;&amp;
ln -sfv liblinear.so.3 /usr/lib/liblinear.so</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">liblinear.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">None</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="liblinear-lib" name=
                    "liblinear-lib"></a><span class="term"><code class=
                    "filename">liblinear.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a large linear classification library.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-03-10 09:12:43 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="libksba.html" title="libksba-1.3.5">Prev</a>
          <p>
            libksba-1.3.5
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libmbim.html" title=
          "libmbim-1.22.0">Next</a>
          <p>
            libmbim-1.22.0
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
